#!usr/bin/env python  
#@time: 2018/01/19 
import os
print(os.name.upper())
env = os.environ
# print(env)
# print(env['CLASSPATH'])
# print(os.environ.get('path'))

oldPath = os.path.abspath('.')
print(oldPath)

newPath = os.path.join(oldPath,'new dir')
print(newPath)

res = os.mkdir(newPath)

print(res)
# res = os.rmdir(newPath)
# print(res)

splitRes = os.path.split(newPath)

print(splitRes)